const Mock=require('mockjs');
const city_data=Mock.mock({
    "list|100":[{
        city:"@city",
        id:"@id" 
     }]
})


const ticket_data=Mock.mock({
    "list|100":[
        {
            id:"@id",
            "title|1":["高铁","动车","绿皮车"],
            "price|50-400":50,
            from:"@city",
            to:"@city",
            time:"@date",
            "stock|0-100":0
        }
    ]
})

module.exports={
    city_data,
    ticket_data
}